From: Kevin Darbyshire-Bryant Date: Fri, 5 Dec 2025 20:50:29 +0000 (+0000) Subject: Revert "do not delegate ULA prefixes" X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=b062769ab85f72577f71e510446e14c82a2e28a6;p=project%2Fodhcpd.git Revert "do not delegate ULA prefixes" Accidental push to wrong branch - oops This reverts commit fd4714bb2dfec0fadf5b49f21487f37f4613dc0f. --- diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index 8011a27..edd7823 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -674,12 +674,6 @@ static size_t build_ia(uint8_t *buf, size_t buflen, uint16_t status, o_ia_p.addr.s6_addr32[1] |= htonl(a->assigned_subnet_id); o_ia_p.addr.s6_addr32[2] = o_ia_p.addr.s6_addr32[3] = 0; - /* Awful hack: Do NOT delegate local ULA prefixes. - They confuse my Sky VOIP box. Should be able to do this - on a per interface or even per client basis. */ - if (o_ia_p.addr.s6_addr[0] == 0xFD) - continue; - if (!valid_prefix_length(a, addrs[i].prefix_len)) continue;